package main

import "fmt"

func main() {
	p:=per{"ff",12}
	p.notify()
	p1:=&p
	p1.name="22"
	fmt.Println(p1)
	fmt.Println(p.name)

}

type per struct {
	name string
	age int
}

func (p *per)notify()  {
	p.name="gggh"
	
}
